<template>
  <div class="formItemCon">
    <div class="leftN">
      <span class="mustC">{{ismust}}</span> {{cname}}
    </div>
    <div class="rightI">
      <slot name="input">input control,ex:input,select,radio,
        checkbox</slot>
    </div>
  </div>
</template>

<script>
  export default {
    name: 'formItem2',
    props : [ 'ismust', 'cname' ],
    template : '#form-item-con'
  }
</script>

<style scoped>
  @import url("../css/page.css");

</style>
